<!--{template admin/header_tpl}-->

<div class="mainarea">
	<div class="maininner">
		<div class="bdrcontent">
			<div class="title"><h3>ID：{$activity[aid]}&nbsp;&nbsp;{$activity[title]}</h3></div>
			<p><img width="590" src="{$activity[imageurl]}" /></p>
		</div>
		<br />
<!--加载数据-->
		<form action="<!--{eval echo base_url()}-->admin/admin_goods/del_goods" method="post" accept-charset="utf-8">

			<div class="bdrcontent">
				<table class="formtable" cellspacing="5" cellpadding="5">
						<th style="width:2em;">id</th>
						<th style="width:100px;">图片</th>
						<th>名称</th>
						<th>品牌</th>
						<th>价格</th>
						<th>市场价格</th>
						<th>折扣</th>
						<th>创建时间</th>
						<!--{loop $goods $good}-->
						<tr>
							<td>{$good[gid]}
								<input type="checkbox" name="ids[]" value="{$good[gid]}" id="" value="{$good[gid]}">
							</td>
							<td>
								 <a href="{$good[url]}"><img src="{$good[imageurl]}" width="100"></a>
							</td>
							<td>{$good[name]}</td>
							<td>{$good[brandid]}</td>
							<td>¥{$good[price]}</td>
							<td>¥{$good[marketprice]}</td>
							<td>{$good[discount]} 折</td>
							<td><!--{date('Y-m-d H:i:s', $good['dateline'])}--></td>
						<tr>
						<!--{/loop}-->
					</tr>
				</table>
			</div>
		<!--分页表单和删除按钮-->
			<div class="footactions">
				<input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选
				<input type="submit" name="batchsubmit" value="批量冻结" onclick="return confirm('确认冻结？');" class="submit">
			</div>
		</form>
	</div>
</div>
<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->